Description: 用Java实现断点续传(HTTP)
)断点续传的原理
其实断点续传的原理很简单,就是在Http的请求上和一般的下载有所不同而已。
打个比方,浏览器请求服务器上的一个文时,所发出的请求如下:
-using Java HTTP (HTTP)) HTTP fact, the principle of HTTP principle is simple enough. Shan is the Http requests and generally download some variations. For example, the browser requests to the server on a text, issued by the request as follows : Platform: |
Size: 10216 |
Author:tangying |
Hits:
Description: 用Java实现Web服务器连接:Web浏览器与Web服务器建立连接。2.请求:Web浏览器通过socket向Web服务器提交请求。3.应答:Web浏览器提交请求后,通过HTTP传送给Web服务器。Web服务器接到请求后,进行事务处理,处理结果又通过HTTP传回给Web浏览器,从而在Web浏览器上显示出所请求的页面。4.关系连接:当应答结束后,Web浏览器与Web服务器必须断开,以保证其它Web浏览器能够与Web服务器建立连接。-Java Web server : Web browsers and Web servers establish a connection. 2. Request : Web browser through the socket to the Web server submits the request. 3. Response : Web browser after the request, transmitted to the Web HTTP server. Web server upon request, conduct of business, and the results passed back to the traditional HTTP Web browser, so the Web browser will display the requested page. 4. Relations link : When respondents end, Web browser and Web server to be disconnected, to ensure that other Web browsers and Web servers to establish a connection. Platform: |
Size: 7152 |
Author:LIYIN |
Hits:
Description: 用java开发的,支持jsp,高性能小型http服务器。-java development with the support of jsp, high-performance mini - http server. Platform: |
Size: 2269097 |
Author:学金 |
Hits:
Description: 掌握网络基础概念利用Java语言在传输层进行编程UDP、TCP利用Java语言在应用层进行编程SMTP、POP3、HTTP掌握服务器端编程技术Servlet利用Java语言进行简单的分布式计算RMI、CORBA-grasp the concept of network infrastructure using Java language in the transport layer programming UDP, TCP use the Java language in the application layer program SMTP, POP3, HTTP server grasp programming language Java Servlet use of a simple distributed computing RMI, CORBA Platform: |
Size: 250779 |
Author:we |
Hits:
Description: 一个用java编写的http服务器代码,可以解释和发布html文件,可以自行扩展-a prepared with the http server code, interpretation and dissemination of html documents and self-expansion Platform: |
Size: 2564 |
Author:欧阳修 |
Hits:
Description: 一个J2EE开发的商务网站1.配置tomcat服务器--首先安装jdk,后安装tomcat 详细配置说明 2.点击jspshop 1.0.exe安装文件。(注意在安装时选择目录 tomcat根目录\webapps\root.) 3.设置数据源:控制面板--管理工具--数据源(ODBC)--添加 用户数据源 选择 驱动器为:microsoft Access Driver 数据源名为jspshop 数据库在 tomcat根目录\webapps\root\jspshop\database\db.mdb 数据库可以重命名(建议); 4.安装成功,重新启动服务器Tomcat,用浏览器中输http://localhost:8080/jspshop进行测试 -a J2EE development of a business website. Tomcat server configuration-- first jdk installed, installed after tomcat detailed configuration Note 2. Click jspshop 1.0.exe installation. (Note that the installation directory tomcat root directory \ webapps \ root.) 3. Set up data sources : the control panel-- Tools-- Data Sources (ODBC)-- Data Sources add users to choose Drivers : microsoft Access Driver data source database called jspshop tomcat root directory \ webapps \ root \ jspshop \ database \ db.mdb database can rename (proposal); 4. the successful installation, restart Tomcat server, browser lost http://localhost:8080/jspshop test Platform: |
Size: 1488896 |
Author:张三 |
Hits:
Description: 用Java作的HTTP1.0 下的Webserver服务器 用TCP协议,采用多线程技术,可作为WEbServer的入门例子-Java for the HTTP1.0 the Webserver server using TCP protocol, multi-threading technology that can serve as examples of entry WEbServer Platform: |
Size: 3072 |
Author:Mark |
Hits:
Description: Lucene Web interface, use XML as a lightweight protocol. developer can convert data source (text, DB, MS Word, PDF... etc) into xml format, indexing with lucene engine, and get full text search result via HTTP, with XML format output, user can easily intergrated with JSP ASP PHP front end or use XSLT at server side transform output.
Platform: |
Size: 2890752 |
Author:张和 |
Hits:
Description: 实现FTP的功能,可以下载上传。而且支持断点续传。FTP服务器及客户端。界面美观,采用JDK1.5开发-FTP functions can be downloaded upload. But support for HTTP. FTP server and client. Beautiful interface, developed using JDK1.5 Platform: |
Size: 6144 |
Author:黄飞 |
Hits:
Description: Deep Network Analyzer(DNA)是一个灵活的,可扩展的深度网络分析器(服务器软件)与框架,它可收集和分析网络数据包,网络对话(sessions)与应用层协议(HTTP,DNS,P2P,VoIP等),被动地隔离企业级网络.DNA主要设计用于Internet安全,入侵探测,网络管理,协议与网络分析,信息搜集,网络监测应用程序.-Deep Network Analyzer (DNA) is a flexible, Depth can be extended network analyzer (server software) and the framework, which will collect and analyze data packet network, Network Dialogue (sessions) and the application layer protocol (HTTP, DNS, P2P, VoIP, etc.), passive isolation enterprise network. DNA designed mainly for Internet security, Intrusion detection, network management, network agreement with the analysis, information gathering, network monitoring applications. Platform: |
Size: 12617728 |
Author:秦宗全 |
Hits:
Description: 每个例子文件夹都附有数据库表、程序源文件和一个war包(或者jar包)。如果是cs结构的,那么是个jar包,而且还多一个可执行程序文件夹,如果是bs结构的则是个war包。结构如下所示:
例子
|
+--- -例子名称
|
+------数据库表(文件夹)
|
+------源代码(文件夹)
|
+-----jar包(ejb模块)或者war包(web模块)【部署到服务器上】
|
+------可执行程序(cs结构的例子特有)
| |
| +-------可执行的jar包
|
+------文本文件(http.txt,启动例子时,IE中输入的地址,bs结构的例子特有)
在使用例子之前,你可以用Jbuilder打开原来的工程文件,重新编译,也可以直接部署war包(或者jia包)。
-examples of each folder with all the database tables, procedures, documents and a source of X packages (jar or packet). If the structure is cs, is a jar packets, but also more than one executable file folders, If the structure is bs this is a war packet. Structure as follows : Examples |---- Example Name |------ database tables (folder) |------ source code (document folder) |----- jar Package (ejb module), or war Package (web module) [deployment to the server-- |------ executable (cs structure of the specific examples) | | |------- enforceable ja r Pack |------ text file (http.txt start example, the importation of the IE address, bs structure of the specific examples) in the use of examples, You can use Jbuilder opened the original engineering documents, recompile, can be directly Platform: |
Size: 3636224 |
Author:angel |
Hits:
Description: bs_网上购物系统每个例子文件夹都附有数据库表、程序源文件和一个war包(或者jar包)。如果是cs结构的,那么是个jar包,而且还多一个可执行程序文件夹,如果是bs结构的则是个war包。结构如下所示:
例子
|
+--- -例子名称
|
+------数据库表(文件夹)
|
+------源代码(文件夹)
|
+-----jar包(ejb模块)或者war包(web模块)【部署到服务器上】
|
+------可执行程序(cs结构的例子特有)
| |
| +-------可执行的jar包
|
+------文本文件(http.txt,启动例子时,IE中输入的地址,bs结构的例子特有)
在使用例子之前,你可以用Jbuilder打开原来的工程文件,重新编译,也可以直接部署war包(或者jia包)。
-bs_ online shopping system each case folder with all the database tables, Source documents and procedures for a war Package (jar or packet). If the structure is cs, is a jar packets, but also more than one executable file folders, If the structure is bs this is a war packet. Structure as follows : Examples |---- Example Name |------ database tables (folder) |------ source code (document folder) |----- jar Package (ejb module), or war Package (web module) [deployment to the server-- |------ executable (cs structure of the specific examples) | | |------- enforceable ja r Pack |------ text file (http.txt start example, the importation of the IE address, bs structure of the specific examples) in the use of examples, You can use Jbuilder opened the original engineering documents, recom Platform: |
Size: 2413568 |
Author:angel |
Hits: